package Bank_Program;


public class Bank_operations {

		
	static int amount = 0; 
	static void deposit(int D){
		amount += D;
		System.out.println("You have deposited $" + D);
	}
	
	static void withdraw(int D){
		if(D>amount){
			System.out.println("You cannot withdawl that amount");
		}else{
                        System.out.println("You have withdawn $" +D );
			amount -=D;
		}
		
	}
	
	static void display(){
	System.out.println("You have $" + amount);
		
	}

	}


